package org.iipg.common.data.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.security.PublicKey;

/**
 * @author zhuhy163@163.com
 * @Description
 * @date 2021/7/16 上午10:54
 */
@Data
@ApiModel(value="BaseInfo", description="BaseInfo")
public class BaseInfoDto {

    private String id;

    private String mid;

    private BasicInformation basicInformation;

    private Fingerprint fingerprint;


    @Data
    static class BasicInformation {

        private String subjectDN;

        private String issuerDN;

        private String serial;

        private String validity;

        private String names;

    }

    @Data
    static class Fingerprint
    {
        private String sha256;

        private String sha1;

        private String md5;

    }

}